They would be put into room to be sorted between “healthy and able to work” and “undesirable for work”. Those who were healthy and able, would be taken to another room to possibly shower and get their uniforms. Those who were undesired would be taken to gas chambers or would get shot.
The only figurative language it could be would be a pun.