Local variables (var whatever) are not exported and local to the module. You can define your array on the exports object in order to allow to import it. You could create a .json file as well, if your array only contains simple objects.
data.js:
module.exports = ['foo','bar',3];
import.js
console.log(require('./data')); //output: [ 'foo', 'bar', 3 ]
[Edit]
If you require a module (for the first time), its code is executed and the exports object is returned and cached. For all further calls to require(), only the cached context is returned.
You can nevertheless modify objects from within a modules code. Consider this module:
module.exports.arr = [];
module.exports.push2arr = function(val){module.exports.arr.push(val);};
and calling code:
var mod = require("./mymodule");
mod.push2arr(2);
mod.push2arr(3);
console.log(mod.arr); //output: [2,3]