Hello Glasier-3173
Are you using it directly on if? or trying to assign to a variable?
If you are directly using it on If condition, it will not say that warning, (Note the the curly braces at the outermost is not required). This is because, If condition expression should evaluate to true or false and your expression involving equals should work fine.
@equals(activity('RunFunction').output.files[1].Downloaded, true)
If you are trying to assing to a string variable, use the below expression
@string(equals(activity('RunFunction').output.files[1].Downloaded, true))
This will be converting the equals output (true or false) to a string and that can be assigned to a variable of type string.
Hope it is clear. Please try and let us know.