Not playing with a full deck

Meaning: Used informally to suggest that someone is not behaving sensibly or rationally.

Example: He must not be playing with a full deck if he thinks that plan will work.