Meaning: To be crazy or stupid:
You must be out of your mind if you think I'm going to vote for the troika. I'm going to vote for freedom, and not for repression.
You must be out of your mind to set up a business with her. She was a corrupt politician.