A study conducted by experts found that the effects of poor sleep affect the brain’s function for several days.