Not sleeping for over 72 hours is the threshold for insanity.
I was awake that long once. I can understand why that threshold exists
I had a long tech writing session once and at about 48 hours I started to hallucinate. Mentioned it to my girlfriend, and she drove the 70+ miles to my job to keep me company.