You can check for a state on all 3 pins with one if statement if thats what you mean

Code:
if porta.0=1 and porta.3=1 and porta.5=0 then

endif
In that example 0 and 3 must be high and 5 must be low to execute the code in the if statement