According to the Centers for Disease Control and Prevention (CDC), 24-hour sleep deprivation is the same as having a blood alcohol concentration of 0.10 percent. That’s higher than the limit to legally drive.
Sleep deprivation has many steps.. e.g. for me, until ~20 hrs there is no mental impairment but at ~40 hrs I become unable to have complex brain activity, even thinking ffs