missing include in is_logical