Thanks to all who responded!
EMI is still messing with the inputs after installing 8.5mm plug wires with high EMI suppression (MSD-31189) and changing pin mode to INPUT_PULLDOWN and added 1k pulldown resisters to all inputs on the teensy. I'm...
I have 6 inputs and 8 outputs that are isolated using ild213 optocouplers and the emi is affecting all of the inputs and 1 output. I'm using 2s LiPo battery that powers the external circuits. All of the pin modes are input_pullup. No extra pull...