You can combine the permutations of the two lists using TypeScript (enabled by clicking the drop down that says FQL on the top right corner of the Evaluate Block) in an Evaluate Block, then use a For Block to iterate through all the variables, passing in X and Y from the combined list like below:
interface Combination {
x: string;
y: number;
}
const combinations: Combination[] = [];
for (const x of list1) {
for (const y of list2) {
combinations.push({ x, y });
}
}
combinations;