A few states (including Florida) have statutes permitting divorce actions on behalf or incompetent people.
While mental incapacity does not prevent a defense in a fault-based action. In actions where a mentally incompetent person is a defendant, the court normally appoints a guardian.
While incompetent people in general may not fraud or a party’s legal incompetence at the time of the marriage.