Unfortunately the ComplianceStatus parameter only accepts 1 value.
But you can filter the ones you require after the Get-Compliance cmdlet with a Where-clause.
Something like this
$compliances = Get-Compliance -Entity $inventoryItem -Detailed |
Where {"Compliant","NonCompliant" -contains $_.Status}