You’re confusing the condition for the mask. The condition is the equation that checks whether something is true or false (x == "") and the mask is the resulting list of boolean values (true/false). You need to check your parameter values first and then use the resulting boolean mask to filter them into passing and failing conditions.
You also have to keep in mind that nulls are not the same as blanks. Null is a non-existent value whereas blanks are just 0-length strings. From what you’ve shown, you only have blanks.
The option where you suggested true and false could work like a charm! but once I have true and false, how do I get the values again for ‘true’ ones? Because I can’t change the parameter value for ‘true’ but for the parameter values which are either 1 or 0
Depending how things are set up you may need to feed out instead of in.
But why do you need these values again?
If you want to change true to false (or vice versa) then there is no need to
get the value again. You already know the items in either out or in are true or false.
Somewhere this got entirely too mixed up. All you need is to check for empty values/strings and filter your list. You can do that by separating the original two lists like I originally mentioned or you can use your transposed list and check for any failures.