Hi guys I have some issue with node "if"

I had similar issue with if-node when I upgraded from 2021 to 2023 and got a good explanation. Maybe it can give you a hint as well if you will do the same upgrade as I did.