Find the word definition

Wiktionary
have bats in one's belfry

vb. (context idiomatic intransitive English) To be crazy or eccentric.