einen Vogel haben

Etymology
lit. 'to have a bird'.

Verb

 * 1)  To have a screw loose; be nuts; be crazy, to have bats in one's belfry