When the suit is for divorce from the bond of matrimony for willful desertion or abandonment, it shall be no defense that the guilty party has, since the commencement of such desertion, and within one year thereafter, become and has been adjudged insane, but at the expiration of one year from the commencement of such desertion the ground for divorce shall be deemed to be complete, and the committee of the insane defendant, if there be one, shall be made a party to the cause, or if there be no committee, then the court shall appoint a guardian ad litem to represent the insane defendant. This section shall apply whether the desertion or abandonment commenced heretofore or shall commence hereafter.
Code 1919, § 5103; 1926, p. 869; 1934, p. 20; 1954, c. 389; 1975, c. 644.