Mental disorder usually means a psychiatric disorder. In practical terms, I do not know of any psychiatric disorders present since birth.
Congenital neurological disorders are known, but can't be ground for divorce, in general [For example, unless they are fraudently concealed before marriage].
Moderate or severe depression is not, in law, a ground for divorce.