This reminds me of a programmer and very talented blogger who wrote a book ("And Then I Thought I Was A Fish") about his experience of staying up for many days under the influence of LSD, and who is also committed to an institution as a result of his delusions. Very interesting and entertaining read. http://www.stilldrinking.org/the-episode-part-1
He is still in the institution? If he's still crazy, how did he write the book? Or did he half-coherently narrate it to someone who then posted it for him?