I think of some pretty crazy ideas when I'm half asleep.
I keep a notebook and pencil by my bed, randomly wake up and write jibberish down. Sometimes great ideas, but most of the time crazy nonsense that I have to wonder what the hell I was thinking, even though they seemed like the greatest...