This logic doesn't make much sense, what are you trying to do with the array? The load action is for loading pre-existing array data, not tile data. You can set a position in the array to ajax.lastdata and load it later using the tilemap load action.