Just looks severely shocked. Probably started as a low oxygen situation , but the second you opened that bag he would have experience extreme PH swing and toxic ammonia levels. That's a triple whammy I'm impressed he's survived, best thing to do now is leave him alone, Keep the tank dark and warm let him rest hopefully he'll come around, watch for redness in the scales and gills as it may have had a bit of ammonia burn being in the bag so long. Some stress coat and a bit of salt might help bring him around as well but most important is clean warm water and stay away, hovering around or bothering him wont help, if he's not floating belly leave him alone every time you look at him it adds stress!
Everyone makes mistakes, lot's of people commented on that but few offered advise so for future reference if you get fish shipped the goal should be to have it out of the bag as quickly as possible.
Setting the bag in the tank for 20min to let the temps adjust is a good idea especially if there is a big difference between the tank and the bag water temperature but that's about all that's needed. A very common mistake is opening to bag to let in air, DO NOT open the bag at all until your ready to remove the fish from it and when you do open the bag get the fish out quick! The buildup of C02 in the bag lowers the PH in the water and this very low PH protects the fish from the built up ammonia. The second you open the bag the CO2 is released from the water the PH spikes very rapidly and suddenly the ammonia becomes very toxic. This is far more harmful then being left in a low oxygen environment.