bats in one's belfry

[bats in one's belfry] or [bats in the belfry] {n. phr.}, {slang} Wild ideas in his mind; disordered senses; great mental confusion.

When he talked about going to the moon he was thought to have bats in his belfry.