Article — Pierrot, Dictionary of Moral Theology
Sleep
[vol. II, col. 981] Man no longer enjoys his liberty during sleep. Can one conclude from this that he is absolutely irresponsible for the acts that take place in him and through him at that time? This conclusion would be unsound, for sleep itself can be a voluntary act, and the sensations experienced during sleep may have been voluntarily caused while one was awake. To judge the imputability of everything that may have occurred during sleep, it is therefore necessary to examine 1° whether one foresaw that the act done before sleep would produce such a consequence while one was asleep, and 2° whether one is obliged to refrain from putting the cause in place so as to prevent the effect produced during sleep. We see that we must judge the acts that occur during sleep according to the general principles laid down in the article IMPUTABILITY OF HUMAN ACTS. See ADVERTENCE, no. 4, and VOLUNTARY.
There is a particular point on which we must insist, namely nocturnal emissions. This is what Liguori says of them. After establishing that an emission which occurs præter intentionem [apart from the intention] is mortal only when the provoking cause was itself a mortal sin in an obscene matter, such as reading obscene novels, very immodest looks, etc., this saint and learned casuist expresses himself as follows on emissions that occur during sleep.
Pollutio in somno facta est mortalis, 1° si ante directe vel formaliter est procurata, et causa non est retractata; 2° quando post somnum placuit, et approbata est propter delectationem veneream; alias non. [An emission occurring in sleep is mortal, 1° if it was procured beforehand directly or formally and the cause was not retracted, and 2° when after sleep one took pleasure in it and approved of it on account of the venereal pleasure. Otherwise it is not.] (Fill., q. 5, 148; Trull., no. 9; Lig., bk. III, no. 485.) See MOROSE DELECTATION for the second case.