You'll need to formatDateTime(<timestamp>,'MM-dd-yyyy') for both of the values and then compare them.
Or you could do the format within the addDays() step.
addDays(utcNow(),-1,'MM-dd-yyyy')
Then you will be comparing "MM-dd-yyyy" to another "MM-dd-yyyy"