You can't be preparing a 2022 tax return now. The year 2022 has not ended. The IRS has not yet published Form 1040-NR for 2022. The tax return you are working on now is probably for 2021, reporting the income that you received in 2021.
Form 1040-NR was actually updated starting with 2020. The student loan interest deduction was moved to Schedule 1. For 2021 it's on line 21 of Schedule 1.
This community forum is for people who are using TurboTax to file their U.S. tax returns. TurboTax does not support Form 1040-NR, so as a nonresident alien you cannot use TurboTax.