Not getting enough sleep can cause hallucinations as well as decreasing your alertness and reaction time.
If you don't get enough sleep and are tired you should not drive since you could fall asleep behind the wheel or not being able to sleep and being sleep deprived can cause you to have slow reaction times which is not good when you're driving.
You need to be very alert when driving.