Creating NaryLogicalExpression implementation.