You can easily do this by using a keyword value in the expression.
temp = thisComp.layer("Null 1").effect("Slider Control")("Slider");
[temp, value[1]]
or
u can also assign a static number to y value
x = thisComp.layer("Null 1").effect("Slider Control")("Slider");
y=40;
[x,y];