be out of one's mind
そんな事を言うなんて彼はどうかしてるに違いない。
He must be crazy to say something like that.
こんな高い自転車を買うなんて、どうかしてるよ。
You must be crazy to buy such an expensive bicycle.
そんな馬鹿な事を信じるなんて、彼らはどうかしてるに違いない。
They must be crazy to believe such nonsense.
つらいから死ぬなんて どうかしてるッ!
You’re out of your mind if you think you should die just because you’re suffering!
— 映画 聲の形 (2016)
私の頭がどうかしてると思いますか。
Do you think there's something wrong with my head?