How to Make Macbook a Slave Display for Raspberry Pi 3b?
It's definitely not feasible, and likely impossible. Whatever ports are for video and audio on your MacBook Air would be out, like to an external display, not in. You could possibly disassemble the MacBook Air and spent an absolutely ridiculous amount of time (and maybe money) to maybe get it to work, but really, you just need a separate display.