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 

{
        const ColumnArray * const col_array = checkAndGetColumn<ColumnArray>(
                columns[arguments[0]].column.get());
        if (!col_array)
            return false;
        const ColumnLowCardinality * const col_lc = checkAndGetColumn<ColumnLowCardinality>(&col_array->getData());
        if (!col_lc)
            return false;
        const auto [null_map_data, null_map_item] = getNullMaps(columns, arguments);
        const IColumn& col_arg = *columns[arguments[1]].column.get();
        if (const ColumnConst * const col_arg_const = checkAndGetColumn<ColumnConst>(col_arg))
        {
            const IColumnUnique& col_lc_dict = col_lc->getDictionary();
            const bool different_inner_types = col_lc_dict.isNullable()
                ? !col_arg_const->structureEquals(*col_lc_dict.getNestedColumn().get())
                : true; 
            const bool use_cloned_arg = col_arg_const->isNumeric()