Improved Error Message for "and" function

Hi, I just tried using the “and” function in an if statement not realising that it is bitwise and rather than logical and. It might be useful to add a warning for this specific scenario since I suspect that this is a rather common error and it should be really easy to detect.