How to activate two different LEDs depending on data output

"To be safe" you check that the array index doesn't go outside the limits of the array. Just allocating 200bytes of precious SRAM memory is not safe.