Actually they are being treated like very dangerous criminals. Criminals who obviously have a knack for breaking out, causing prison riots, they are proficient in using all kinds of weapons, and could be under considerable danger from the rest of the public if thier identities are known. The following are some assumptions that I have formed and will probably get flammed for, but so be it.
They are under strict guard for thier own protecttion. If they were sent to the US they would all be blamed for the 9/11 tragedies, which simply isn't true. Thier presence would probably cause riotous conditions among our own poorly run/guarded detention centers. Most of them couldn't spell World Trade Center, much less have the intelligence to participate in such an evil scheme. They were however willing participants and supporters of the Taliban, which happily gave bin Laden a place to base operations. Simmilar I suppose to aiding and abetting in criminal activity.
For the protection of fellow prisoners, as many of them will be asked sensitive questions that could get the informant killed. (I.E. We don't want the cronies still afoot to know who they are and what info the will or could release. As well, they will need some anonimity when and if they are released to thier respective home countries. Otherwise if they are found to be of no intelligence use, they will probably be released, for the most part.
They are not entitled to our set of rights (I.E. Constitutional Freedoms, Liberties), but only basic human rights, like food ,water, and shelter. They never practiced in a democratic society and as a matter of fact mistreated even thier own people. Eventually you stop offering the olive branch and kindness to those who feel it necessary to violate even the most basic human rights. Who among you would like to spend a day in an Afghan women's place? You would be like ignorant chattell...vieled chattell that is.
They are not entitled to a day in our civil court, except in Johnnie Ialiban Wlaker, only becuase he is a US citizen...for a while anyway. I think he should be released back on US soil and we could see what happens. He would never be able to get a job, would probably get beaten to death, and would certainly get shunned everywhere he went. I think its a rather appropriate punishment. He might remember the Western infidels aren't the great satan that many Islamic fundamentalist org profess.