No, it is not true. Infertility – the inability to procreate children – is not an impediment to marriage. It is likely that the person who told you that it was is confusing infertility with impotence. Permanent and irreversible impotence – the inability to consummate the marriage through marital relations – is an impediment to marriage.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.