Sure, you could code it something like:
=IF(OR(AND(A1=1,A2=1),B1=2),TRUE,FALSE)
but the more conditions you add, the harder it is to make sure it does what you want. Trace it through using the Evaluate Formula tool, or use helper cells to build pieces that are easier to verify.