Logic binary ops and cleanup