For the pool, yes, drives should to be the same size. I believe drives can be mismatched in pools when set up directly in TrueNAS, but HexOS will not do this by default and I'm not sure how tolerant it would be. You will be limited to the size of your smallest drive, so for a pool of 2x10TB drives and a 1x1TB drive, your effective capacity is only 2TB.
Parity information is distributed among the drives equally in Raid5 / RaidZ1. I'm simplifying, but this is how I understand it: for a 1GB file, disk 1 and disk 2 will have 500MB of data and disk 3 will have 500MB (?) of parity info. For another 1GB file, disks 2 and 3 may have the data, and disk 1 stores the parity info. Because of the distribution of parity, all three drives should are only as good as the smallest drive. In the example above, the 1TB drives runs out of space for parity / data before the others, so the pool is only limited to storing 2TB