From 3/11/08, the MHA 2007 amends the definition of mental disorder in s1 to "any disorder or disability of the mind". However, learning disability does not count for detention or treatment under the Act unless it is "associated with abnormally aggressive or seriously irresponsible conduct on his part". Learning disability covers what used to be the classifications of mental impairment and severe mental impairment.
There used to be a similar exclusion in the definition of psychopathic disorder, but this is no longer the case. This means that people with personality disorders who used not to be detainable under the Act (because their disorders did not result in "abnormally aggressive or seriously irresponsible conduct on the part of the person concerned") can now be detained.
Mental disorder no longer split into separate classifications 3/11/08
Table from Explanatory Notes, page 9.
Key: MI = mental illness, MM = mental impairment, PD = psychopathic disorder, SMM = severe mental impairment