Just finished looking up some info.
Supposedly, your sodium/potassium ratio is adjusted/replenished when the brain is actively generating Theta waves.

Also from what I understand, it is during delta wave generation that the mind updates its long term memory. Studies have shown a decrease in memory function when volunteers have been delta deprived.