Solution: Section to which the given problem relates: Section 23.
Decision: X cannot recover his loan from Y.
Reason: The agreement is void because its object (i.e. minors marriage in contravention of the Child Marriage Restraint Act) is unlawful.
[Leading case: C. Srinivas v. K. Raja Ram Mohan]