The perpetually insane cannot marry. But "if the patient has lucid intervals, the marriage contracted during such an interval is valid, though it is not safe for him to marry on account of his inability to rear children." (St. Thomas In IV Sent., dist. xxxiv, q. i, art. 4.