nicht alle Tassen im Schrank haben

Etymology
lit. 'to not have all the cups in the cupboard'.

Verb

 * 1)  to not have all one's marbles, (being) a few cards short of a deck, have a screw loose