Sleep deprivation is just as debilitating as alcohol
MUCH moreso. Outright halucinations are likely.
My rule would be... If you are questioning your ability to... Don't.
However on the other hand it sounds like you're still on track, going to school, going to work. Tough it out... It is a bear, but (from what I gather) it will alwyas get better.