How can i check received values from file is x or not?

In reply to Prashant Soni:

you can use $isunknown(expression). if return 1 then value is x or z, otherwise it will return 0