yes you said correct, GPIO pins assigned to variables is observed but any other option to assign direct PINS in logic analyzer,
I shown a example for another controller (LPC series)

Above Image shown for CortexM3 controller in keil (Logic Anlayzer)
But i want to know the syntax for GPIO's assign in Logic Analyzer for imxrt1024 controller