Determine array position.