Wiktionary
one card shy of a full deck
a. (context idiomatic English) mentally deranged; demented; insane.