Maybe the sequence from MN59 explains this:
(sensual pleasures… each jhāna…)
It’s when a mendicant, going totally beyond the dimension of nothingness, enters and remains in the dimension of neither perception nor non-perception. This is a pleasure that is finer than that.
There are those who would say that this is the highest pleasure and happiness that sentient beings experience. But I don’t grant them that. Why is that? Because there is another pleasure that is finer than that. And what is that pleasure? It’s when a mendicant, going totally beyond the dimension of neither perception nor non-perception, enters and remains in the cessation of perception and feeling. This is a pleasure that is finer than that.
It’s possible that wanderers of other religions might say, ‘The ascetic Gotama spoke of the cessation of perception and feeling, and he includes it in happiness. What’s up with that?’
When wanderers of other religions say this, you should say to them, ‘Reverends, when the Buddha describes what’s included in happiness, he’s not just referring to pleasant feeling. The Realized One describes pleasure as included in happiness wherever it is found, and in whatever context.’”
That is what the Buddha said.
And then compare with AN9.34
There he addressed the mendicants: “Reverends, extinguishment is bliss! Extinguishment is bliss! (sukha)”
When he said this, Venerable Udāyī said to him, “But Reverend Sāriputta, what’s blissful about it, since nothing is felt?”
“The fact that nothing is felt is precisely what’s blissful about it.
(sensual pleasures… each jhāna…)
Furthermore, take a mendicant who, going totally beyond the dimension of nothingness, enters and remains in the dimension of neither perception nor non-perception. While a mendicant is in such a meditation, should perceptions accompanied by the dimension of nothingness beset them due to loss of focus, that’s an affliction for them. Suppose a happy person were to experience pain; that would be an affliction for them. In the same way, should perceptions accompanied by the dimension of nothingness beset them due to loss of focus, that’s an affliction for them. And affliction has been called suffering by the Buddha. That too is a way to understand how extinguishment is bliss.
Furthermore, take a mendicant who, going totally beyond the dimension of neither perception nor non-perception, enters and remains in the cessation of perception and feeling. And, having seen with wisdom, their defilements come to an end.
That too is a way to understand how extinguishment is bliss.