AST - Logical Functions (Incomplete)