If you're trying to see check if Text (which I assume is a string) is one of those three strings, you can use StrInArr. Does just what Jingle said, but it's easier to use.
EDIT:
From: DannyRS
I believe the brackets must be around the entire if statement, because brackets normally imply that whatever's inside them must be calculated first, when doing math for example 3x3x3 vs (3x3)x3, and if you do it the way you did it, I believe the interpreter thinks the array is a bool, so you are trying to conpare a string to a bool, it may work without any brackets…
This isn't correct. Parentheses don't do any type conversion or anything, it just affects precedence. He's getting the error because he's trying to compare a string to an array of string.
Just to show you a comparison, this works fine:
begin
if [5] = ([6]) then
Writeln('wat')
else
Writeln('ok');
end.