Flying squad character joins prison guards, not taking sides (7)
I believe the answer is:
aircrew
'character joins prison guards not taking sides' is the definition.
I can't tell whether this defines the answer.
'flying squad' is the wordplay.
'flying' becomes 'air' ('air' can be similar in meaning to 'flying').
'squad' becomes 'crew' (crew is a kind of squad**).
'air'+'crew'='AIRCREW'
Can you help me to learn more?
(Other definitions for aircrew that I've seen before include "flyers" , "Flying personnel" , "Staff manning a plane" , "Flight personnel" , "Those working on plane" .)