Valid voltages for logic input

Hello,
i have a logic signal , 1Khz , low is always 0.8V and high can be 4.2v or 23V.
Is ok for digital input?

Greetings
GMB

Namino on digital Inputs detect as logical 0 a voltage less than 0.8V and logcal 1 voltage from 2.5V to 24V