to say such a thing
そんな事を言うなんて君は愚かだ。
You're foolish to say such a thing.
そんな事を言うなんて彼女も思いやりがないね。
She’s inconsiderate to say something like that.
そんな事を言うなんて彼はどうかしてるに違いない。
He must be crazy to say something like that.
そんな事を言うなんて気が変になったに違いない。
You must have gone crazy to say such a thing.