have a screw loose
have a screw loose {v. phr.}, {slang}
To act in a strange way; to be foolish.
Now I know he has a screw loose — he stole a police car this time.
He was a smart man but had a screw loose and people thought him odd.
Categories:
Source: A Dictionary of American Idioms