"if" node with list is strange

Thank you all.

From the reply, I understood that it cannot be achieved by using “if”.
I will use the method you taught me.
I searched the forums and found a same question.
I will also post the link.

Thank you very much.