'Are you on acid?' literally means, "Have you taken (the hallucinogen) LSD?"
Usually this question means, "Your idea/attitude/suggestion/behavior seems irrational to me."
Another common way of expressing the same thing is, 'What have you been smoking?' which is a reference to smoking marijuana.
- For Teachers