Welcome to EP!
'Straight up' implies a uni-directional beam. Any IR sensor would have to be directly above the IR source to detect it. For a beacon you would need instead either an omnidirectional IR source, an array of differently-oriented beams, or a beam rotating in a horizontal plane (like a...