Plot hole: It's never explained: 1. How or who helped Scarecrow escape from his cell or 2. Why he'd be sitting in there at the end in costume instead of prison garb.
Suggested correction: Something not being explained is not a plot hole. The manner in which Scarecrow escaped his cell isn't essential to the plot, and therefore doesn't require an explanation. And the reason he's left in the cell in his costume is for the same reason Batman was left wearing his outfit when he was imprisoned: because the doctor at the asylum felt removing his outfit in his hallucinatory state could cause him to become catatonic.