Question: why is barry allen in jail?
Answer: Tuesday's episode of The Flash saw Barry Allen spend more time in prison, due to the wrongful murder charge for the death of Clifford DeVoe. This time, he was placed in the metahuman wing at Iron Heights, along with the others he locked away over the course of season 4.