In Swiss French if you’re questioning someone’s foolish or crazy behavior, you ask if everything’s ok in their chalet .
In German, you rather ask if someone has all their cups in the closet (Hast du alle Tassen im Schrank?).
How do you say it in your language?