It means you’ve been shot up so badly all that is left is one wing and prayer holding the plane in the air.
Oh! That makes sense now. The saying must be from WW1 or WW2.