There are several ways to achieve this. We'll can try the easier methods:

item() needs to be entered as an expression in the expression editor.
Or click Edit in advanced mode and enter the expression as you see below (this avoids using the expression editor):

Or use a condition statement:

Which will give you an array :