A disorder of the brain that causes periodic seizures, and sensory or psychic malfunction in an individual.