have a screw loose

📖 general
Meaning
to exhibit eccentric or irrational behavior
Literal Meaning
to be missing a fastening device in machinery
Example
“He must have a screw loose if he thinks that's a good idea.”