Diagnosis involves a thorough medical history and examination, focusing on potential exposure to toxic agents. Laboratory tests, including blood and urine analysis, can help identify specific toxins. Neuroimaging and electroencephalography (EEG) may be used to assess brain activity and rule out other causes of seizures.