A few cards short of a deck
Meaning
Slightly lacking intelligence or common sense.
Usage
Used jokingly about someone acting foolishly.
Origin & History
Origin notes can vary by region and source; this page gives the commonly reported explanation and usage context.
Card game metaphor for missing elements.
Used since the mid-20th century in casual American slang.