Epilepsy is a medical condition, not a mental illness. The great majority of epilepsy patients do not have any cognitive or psychological issues. Psychological difficulties in epilepsy are mostly limited to patients who have severe, uncontrolled seizures.