Hi @Asta,
inside math mode (marked by $..$), function calls work a bit different see Math - Function Calls. Your third example works because strings are a special case. In your non working second example $mat(1, 2, delim: none)$ the none gets interpreted as an variable thus the error. You have to explicitly enter code mode with #none so that Typst can correctly interpreted it.