Insane or mentally ill.
a demented idea
Crazy; ridiculous.
Suffering from dementia.
Not quite right mentally: perverted, stupid, or mentally ill.