The joke is a pun. One might say that dying and going to heaven would be 'going to a higher plane', as in a higher realm than the mortal realm.  'Plane' meaning 'realm', is identical to the short word for airplane, 'plane'.
OLD PILOTS never die they just go to a higher plane .