No pollution begun and completed in sleep is a mortal sin.
This is clear from Augustine’s famous rule: Sin is so voluntary that if it were not voluntary it would not be sin — and this is understood of mortal sin. The same is his express determination in City of God I.25, speaking of the violent corruption of a virgin: How much less is there fault in the body of one not consenting, if there is no fault in the body of one sleeping? Those who say the opposite contradict not only theological but also philosophical determination; and they have nothing to answer if the argument is pressed from the furious, from infants, and from others not using reason — whom, for that time, all the wise rightly agree do not sin by a new transgression.
We say carefully: if the pollution is begun and completed in sleep — because someone waking could have an impure desire of polluting himself, and while that desire was vigorous fall into sleep in which his pollution is completed. Likewise he could begin pollution in sleep (col. 328) and, waking, complete it badly. In these cases it is plain that the root of the pollution is free and blameworthy, and for that reason the unclean work is imputed to fault. But if on both sides — in beginning and end — there was lack of the use of reason and of free consent of the will, then such an act (even if it were completed while waking) will certainly be without mortal fault. The reason is plain: it will lack freedom. Someone may perhaps sin afterward by taking complacency in that shameful pleasure which he had; yet the prior act of pollution is not thereby rendered culpably vicious. According to Saint Thomas it can even please in some way — not as pleasure, but because it brings health and nature’s relief without the sufferer’s procuring or assent. Finally the saints do not counsel that the flux, when already flowing while one wakes and feels it, should be violently forced back — for that effort would be either vain or unduly burdensome to nature.
The confirmation of all this is that an exterior act is no sin except by extrinsic denomination — more than urine, which is not properly called a deed. If therefore there is no properly so-called sin in the soul while it does not use freedom, there will for that time be no vicious exterior act. Yet we do not deny that through drunkenness or a damnable allurement while waking someone may slip into this uncleanness; but then the fault belongs to waking, not to sleep — although drunkenness and voluptuous thought often lack deadly crime and can be washed away by penance before sleep.