20.7
```
SELECT indexOf(['a', 'b', 'c'], toLowCardinality('a'))

┌─indexOf(['a', 'b', 'c'], toLowCardinality('a'))─┐
│                                               1 │
└─────────────────────────────────────────────────┘
```

20.8
```
SELECT indexOf(['a', 'b', 'c'], toLowCardinality('a'))


Received exception from server (version 20.8.3):
Code: 43. DB::Exception: Received from localhost:9000. DB::Exception: Types of array and 2nd argument of function "indexOf" must be identical up to nullability, cardinality, numeric types, or Enum and numeric type. Passed: Array(String) and LowCardinality(String).. 
```

https://github.com/ClickHouse/ClickHouse/pull/12550

/cc @myrrc 

col_result->getData(),
                null_map_data,
                null_map_item);
            columns[result].column = std::move(col_result);
            return true;
        }
        else if (col_lc->nestedIsNullable()) 
        {
            const ColumnPtr left_casted = col_lc->convertToFullColumnIfLowCardinality(); 
            const ColumnNullable& left_nullable = *checkAndGetColumn<ColumnNullable>(left_casted.get());
            const NullMap * const null_map_left_casted = &left_nullable.getNullMapColumn().getData();
            const IColumn& left_ptr = left_nullable.getNestedColumn();
            const ColumnPtr right_casted = col_arg.convertToFullColumnIfLowCardinality();
            const ColumnNullable * const right_nullable = checkAndGetColumn<ColumnNullable>(right_casted.get());
            const NullMap * const null_map_right_casted = right_nullable
                ? &right_nullable->getNullMapColumn().getData()
                : null_map_item;
            const IColumn& right_ptr = right_nullable
                ? right_nullable->getNestedColumn()
                : *right_casted.get();
            ExecutionData data = {
                left_ptr, right_ptr,
                col_array->getOffsets(),
                columns, result,
                {null_map_left_casted, null_map_right_casted}};
            return dispatchConvertedLCColumns(data);
        }
        else 
        {
            if (col_arg.isNullable())