Catechism of the Council of Trent
892
Part II. The Eucharist
Who Are Obliged By The Law Of Communion
Communion must not be given to persons who are insane and incapable of devotion. However, according to the decree of the Council of Carthage, it may be administered to them at the close of life, provided they have shown, before losing their minds, a pious and religious disposition, and no danger, arising from the state of the stomach or other inconvenience or disrespect, is likely.