ты мыло ел или так сдурел

Etymology
lit. 'have you eaten soap or have you gone crazy [without soap]?'.

Phrase

 * 1)   a comment on a person's stupid act