PowerNSX does not have this capability built-in. You will have to fall back on using PowerShell for the logic to do the comparison.
A word of warning though. The "value" that is returned by the NSX-v API that contains the IP Addresses, is a single string. The IP Addresses are returned as comma separated values within that single string, but are returned in a random order each and every time you query it. So to do any comparisons, you will need to split them into an array first, then sort them, and then do some form of comparison operation.