'Unconsciously' means 'without being aware'. If you do something without full knowledge of what you are doing, your action is an unconscious one, you do it unconsciously.
Examples:
'an unconscious reaction' : a reaction that happened unconsciously
'Perhaps, unconsciously, I’ve done something to offend her.'
However, the word that we need in your sentence is the adjective 'unconscious' which means 'in a state like sleep because of an injury or illness, and not able to use your senses'. We are not talking about feelings or thoughts here:
They found him lying unconscious on the floor.