It's generally known that after 3 or 4 days of total sleeplessness there is permanent psychological damage which is probably physiological in nature. IIRC There was a radio show host who hosted his show for several days straight as a stunt and it really messed him up.