The function takes a string as input and inserts the character 'Y' after the second character in the input string.

[CODE]:
```python
def insert_y_after_second_char(input_string):
    if len(input_string) >= 3:
        return input_string[:2] + 'Y' + input_string[2:]
    else:
        return input_string
```