What is the meaning of [Nutty as a Fruitcake]

Crazy; idiotic; wacky.