A neurological disorder marked by sudden recurrent episodes of sensory disturbance, loss of consciousness, and associated with abnormal electrical activity in the brain.