@ DeusIIXII, what you are referring to is the last of the four formless meditations that exist. The eight attainments (atthasmapatti) in meditation (attaining Adhicitta) broadly has two parts - namely, the first four rupa jhanas and the four arupa jhanas. These last four are higher stages of mental concentration – the formless states - enable one to gain supernormal powers.
Eventhough we see the mind as normally inter-dependent with body, there are levels of existence where only mental phenomena exist, with nothing whatever of rupa. The four 'formless' (arupa) meditative states are attainable from the fourth jhana onwards. They are:
The sphere of infinite space (Akasanañcayatana);
This is attained by transcending any cognition of rupa, by abandoning the metal image that was previously the object of concentration, and seeing that space is infinite.
The sphere of infinite consciousness (Viññaaañcayatana);
In this second state, the focus is on the consciousness that had been aware of infinite space.
The sphere of nothingness (Akiñcaññayatana);
In the third, this object (Viññaaañcayatana) is dropped, and the focus is on the apparent nothingness remaining.
The sphere of neither-cognition-nor-non-cognition (Nevasaññanâsaññayatana).
In the fourth, this object (Akiñcaññayatana) is dropped and the mind is in an attenuated state where it is hardly functioning.
If you want to know these stages in more detail please read the following Suttas:
SD 24.11 _ Pathama Jhana Pañha Sutta or (Savitakka) Pathama Jhana Sutta. Progressing in the 1st dhyana.
SD24.12a _ Dutiya Jhana Pañha Sutta or (Avitakka) Dutiya Jhana Sutta. Progressing in 2nd dhyana.
SD 24.13 _ Tatiya Jhana Pañha Sutta or (Sukhena) Tatiya Jhana Sutta. Progressing in the 3rd dhyana.
SD 24.14 _ Catuttha Jhana Pañha Sutta or (Upekkhaka) Catuttha Jhana Sutta. How to progress in the 4th dhyana.
SD 24.15 _ Akasanañcayatana Pañha Sutta. Progressing in the sphere of infinite space.
SD 24.16 _ Viññaaañcayatana Pañha Sutta. Progressing in the sphere of infinite consciousness.
SD 24.17 _ Akiñcaññayatana Pañha Sutta. Progressing in the sphere of nothingness.
SD 24.18 _ Nevasaññanâsaññayatana Pañha Sutta. Progressing in the sphere of neither-perception-nor-non-perception.