A retired male factory worker with a 20-year history of hypertension (HTN) and irregular medication adherence suddenly developed a headache during morning exercise, followed by loss of consciousness. He was brought to the hospital 30 minutes later. Physical examination reveals coma, blood pressure (BP) 27/16 kPa, right gaze deviation of both eyes, and external rotation of the left foot. Which diagnostic test is most valuable for further evaluation?