lucidity

US /luːˈsɪd.ə.t̬i/
UK /luːˈsɪd.ə.t̬i/
1.

the quality of being able to think clearly, especially when this is temporary:

:
He has intervals of lucidity.