The petition termed the “prolonged isolation” as “patently illegal, devoid of lawful authority, and amounting to inhuman and degrading treatment”