The story
Describes a damaged warplane barely able to return to base, possibly originating in the film Flying Tigers (1942) in which the dialog refers to a flight as “coming in on one wing and a prayer”, made popular by the World War II song “Comin’ in on a Wing and a Prayer” with lyrics by Harold Adamson.
Etymology from Wiktionary, CC BY-SA 4.0.