Yes, it stores address, and then when reading from array, sets apropriate numbered port HIGH, by statement OUT.

OUT LEDS(A), 1

reads value stored in LEDS(A) array part, and then outputs "1" into port with that #.